<template>
  <div class="all">
    <div class="add-nav">
      <ul>
        <li class="list">缓存机制</li>
      </ul>
      <div class="Param">
        <table>
         <tbody>
           <tr>
             <th>启用缓存</th>
             <td>
               <input type="radio" id="one" value="1" v-model="cache.cacheAccess">
                 <label for="1">是</label>
                 <input type="radio" id="two" value="0" v-model="cache.cacheAccess">
                 <label for="0">否</label>
             </td>
           </tr>
           <tr>
             <th>缓存时间</th>
             <td>
               <input type="text" value="cache.resolutionWidth" size="5" v-model="cache.resolutionWidth">秒
               <font color="gray">请输入缓存时间</font>
             </td>
           </tr>
           <tr>
             <th>缓存文件读取方式</th>
             <td>
               <input type="radio" id="one" value="1" v-model="cache.cacheAccess">
                 <label for="1">readfile</label>
                 <input type="radio" id="two" value="0" v-model="cache.cacheAccess">
                 <label for="0">readfile</label>
             </td>
           </tr>
           <tr>
             <th>缓存文件后缀	</th>
             <td>
               <input type="text" value="cache.resolutionWidth" size="5" v-model="cache.resolutionWidth">
               <font color="gray">请输入缓存文件后缀</font>
             </td>
           </tr>
         </tbody>
        </table>
      </div>
      <button>提交</button>
    </div>
    </div>
</template>

<script>
  export default{
    name:'Addadmin',
    data () {
       return{
         cache:{
           openCache:''
         }
       }
       }
       }
</script>

<style lang="scss" scoped src = "../../css/system.css">

</style>
